/*
 * @Author: C.
 * @Date: 2021-12-21 19:15:57
 * @LastEditTime: 2021-12-23 09:38:16
 * @Description: file content
 */
import Vue from 'vue'
import App from './App'

// vuex
import store from './store'

// 引入全局uView
import uView from '@/uni_modules/uview-ui'


import mixin from './common/mixin'

import filters from "./common/filters";
Vue.prototype.$store = store
// 引入uview通用的配置
import "@/common/props";

Vue.config.productionTip = false

App.mpType = 'app'
Vue.use(uView)

Vue.mixin(mixin)

// 引入全局过滤器
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})

const app = new Vue({
    store,
    ...App
})

// 引入请求封装
require('./util/request/index')(app)

app.$mount()
